package com.wanmait.recruit.service.impl;

import com.github.pagehelper.PageInfo;
import com.wanmait.recruit.mapper.PositionAttrMapper;
import com.wanmait.recruit.pojo.PositionAttr;
import com.wanmait.recruit.service.PositionAttrService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.List;
@Service("positionAttrService")
@Transactional(rollbackFor = Exception.class)
public class PositionAttrServiceImpl implements PositionAttrService {

    @Resource
    PositionAttrMapper positionAttrMapper;

    @Override
    public List<PositionAttr> findAll() {
        return positionAttrMapper.findAll();
    }

    @Override
    public void insert(PositionAttr object) {

    }

    @Override
    public void delete(PositionAttr object) {

    }

    @Override
    public void update(PositionAttr object) {

    }

    @Override
    public PageInfo<PositionAttr> search(int pageNum, int pageSize) {
        return null;
    }
}
